<template>
  <div id="app">
        <el-menu
  :default-active="activeIndex2"
  class="el-menu-demo"
  mode="horizontal"
  @select="handleSelect"
  background-color="#545c64"
  text-color="#fff"
      router
  active-text-color="#ffd04b">
  <el-menu-item index="dispose">处理中心</el-menu-item>
  <el-menu-item index="workbench" >我的工作台</el-menu-item>
  <el-menu-item index="information" >消息中心</el-menu-item>
  <el-menu-item index="order" >订单管理</el-menu-item>
</el-menu>

        <router-view/>
  </div>
</template>

<script>

export default {
    name: 'myhead',
    data() {
        return {
          activeIndex2:'dispose'
        };
    },
   
};
</script>
<style lang="scss">
</style>
